package com.prs.crm.domain.store;
/**
 * @author 兰小刚
 * @version 
 * 类说明
 */
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;
import com.prs.crm.domain.stock.Product;

@Entity
@Table(name = "store_storeindetail")
public class StoreInDetail extends BaseEntity {

	private static final long serialVersionUID = 2625159668537269733L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	private String name;
	private int storeinNum;
	@ManyToOne
	private Product product;
	@ManyToOne
	private StoreIn storein;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public int getStoreinNum() {
		return storeinNum;
	}
	public void setStoreinNum(int storeinNum) {
		this.storeinNum = storeinNum;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public StoreIn getStorein() {
		return storein;
	}
	public void setStorein(StoreIn storein) {
		this.storein = storein;
	}
	
	

}